
public class TypeCastingDemo {

	public static void main(String[] args) {

		double ageDouble=25.98;
		
		int ageInt=(int)ageDouble;
		
		System.out.println("Age Double = "+ageDouble);
		System.out.println("Age = "+ ageInt);
		
		//double ageDouble2=ageInt;
		System.out.println("DOuble2 = "+ageInt );
	}

}
